package nezumi.sensing;

import nezumi.Constants;

public class BeaconGaussianSensorModel extends AGaussianSensorModel implements
		ISensorModel {

	public BeaconGaussianSensorModel() {
		super(Math.toRadians(Constants.BEACON_STD_DEV));

	}

	@Override
	protected double computeA(final double x) {
		return x-0.25*Constants.MAP_GRANULARITY*(Math.acos(x)+Math.asin(x));
	}

	@Override
	protected double computeB(final double x) {
		return x+0.25*Constants.MAP_GRANULARITY*(Math.acos(x)+Math.asin(x));
	}

}
